//	WRITE_LINE.hsp

/*title this*/_4title=__FILE__:split _4title,".",_4title:title _4title.0


//	Opmesboxp
sdim s,65000
//	m[gpbhp
sdim t,65000
	
//	ʏ
	screen 0,600,480
	objsize 200,20
	button "s",*do_hoge
	pos 0,25
	font "",18
	objmode 2
//	sg̑Opmesbox
	mesbox s,600,455,5
	ID4mesbox=stat
	stop
//	LINEt
*do_hoge
	t=s
	notesel t
//	̍sJԂ
	repeat notemax
		u=""
//	s擾
		noteget u,cnt
//	s
		uu=str(cnt+1)+"F"+u
//	㏑
		noteadd uu,cnt,1
		loop
//	ۑ
	notesave "tmp.txt"
//	𗘗pĕ\
	exec "notepad tmp.txt"
	stop